{% extends "base.html" %}
<!--修改用户个人信息页面-->
{% block content %}
    <div class="jumbotron">
        <div class="container">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form class="form-horizontal" role="form" method="post" ,name="edit">
                        {{ form.hidden_tag() }}
                        <div class="form-group">
                            <h2>Edit Your Profile</h2>
                            <label for="inputEmail3" class="col-sm-2 control-label">Nickname</label>
                            <div class="col-sm-10">
                                {{ form.nickname(class='form-control',size=10) }}
                                {% for error in form.nickname.errors %}
                                    <br><span style="color:red">[{{ error }}]</span>
                                {% endfor %}
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2 control-label">About me</label>
                            <div class="col-sm-10">
                                {{ form.about_me(class='form-control',cols=32,rows=4) }}
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <input class="btn btn-primary btn-large" type="submit" value="Save Changes">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}